All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.sun.java.accessibility.AccessibleLayout

public interface AccessibleLayout
The AccessibleLayout interface is currently up for review and should only be used for experimental purposes. Interested parties should review this interface and send comments to access@sun.com. Based upon feedback from reviewers, we may add a method to AccessibleContext (e.g., getAccessibleLayout) that will return an object that implements this interface if the Accessible object supports the layout of its children.

See Also:
Accessible, AccessibleContext

Variable Index

 o LOGICAL_FIRST
Constant used to locate the first logical object in the container.
 o LOGICAL_LAST
Constant used to locate the last logical object in the container.
 o LOGICAL_NEXT
Constant used to locate the object logically next of the object passed in.
 o LOGICAL_PREVIOUS
Constant used to locate the object logically previous of the object passed in.
 o POSITION_ABOVE
Constant used to locate the object physically above the object passed in.
 o POSITION_BELOW
Constant used to locate the object physically below the object passed in.
 o POSITION_FIRST
Constant used to locate the first physical object in the Container
 o POSITION_LAST
Constant used to locate the last physical object in the Container
 o POSITION_LEFT
Constant used to locate the object physically to the left of the object passed in.
 o POSITION_RIGHT
Constant used to locate the object physically to the right of the object passed in.

Method Index

 o getFocusTraversable(Component, int)
Determine the focusable object in the given relative focus direction from the Component passed in.
 o getFocusTraversable(int)
Determine the first or last object in the Container that accepts focus.
 o locate(Component, int)
Determine the object in the given relative direction from the Component passed in.
 o locate(int)
Determine the first or last object in the Container.
 o locate(Point, int)
Determine the object in the given relative direction from the Point passed in.

Variables

 o LOGICAL_PREVIOUS
 public static final int LOGICAL_PREVIOUS
Constant used to locate the object logically previous of the object passed in.

 o LOGICAL_NEXT
 public static final int LOGICAL_NEXT
Constant used to locate the object logically next of the object passed in.

 o LOGICAL_FIRST
 public static final int LOGICAL_FIRST
Constant used to locate the first logical object in the container.

 o LOGICAL_LAST
 public static final int LOGICAL_LAST
Constant used to locate the last logical object in the container.

 o POSITION_ABOVE
 public static final int POSITION_ABOVE
Constant used to locate the object physically above the object passed in.

 o POSITION_BELOW
 public static final int POSITION_BELOW
Constant used to locate the object physically below the object passed in.

 o POSITION_LEFT
 public static final int POSITION_LEFT
Constant used to locate the object physically to the left of the object passed in.

 o POSITION_RIGHT
 public static final int POSITION_RIGHT
Constant used to locate the object physically to the right of the object passed in.

 o POSITION_FIRST
 public static final int POSITION_FIRST
Constant used to locate the first physical object in the Container

 o POSITION_LAST
 public static final int POSITION_LAST
Constant used to locate the last physical object in the Container

Methods

 o locate
 public abstract Component locate(Component comp,
                                  int direction)
Determine the object in the given relative direction from the Component passed in.

Parameters:
comp - the Component
direction - the direction to look in
Returns:
Component else null
 o locate
 public abstract Component locate(Point p,
                                  int direction)
Determine the object in the given relative direction from the Point passed in.

Parameters:
p - Point in screen coordinates
direction - the direction to look in
Returns:
Component else null
 o locate
 public abstract Component locate(int pos)
Determine the first or last object in the Container.

Parameters:
pos - -- either POSITION_FIRST, POSITION_LAST, LOGICAL_FIRST, or LOGICAL_LAST
Returns:
Component else null
 o getFocusTraversable
 public abstract Component getFocusTraversable(Component comp,
                                               int direction)
Determine the focusable object in the given relative focus direction from the Component passed in. Note that this follows focus traversing rules, not the physical location of the Component itself.

Parameters:
comp - the Component
pos - -- either POSITION_PREVIOUS, POSITION_NEXT, LOGICAL_PREVIOUS, or LOGICAL_NEXT
Returns:
Component else null
 o getFocusTraversable
 public abstract Component getFocusTraversable(int pos)
Determine the first or last object in the Container that accepts focus.

Parameters:
pos - -- either POSITION_FIRST, POSITION_LAST, LOGICAL_FIRST, or LOGICAL_LAST
Returns:
Component else null

All Packages  Class Hierarchy  This Package  Previous  Next  Index